package iedcyt.acute.dataAccess.dao.acute1;

import iedcyt.acute.dataAccess.domain.acute1.Author;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class AuthorRowMapper implements RowMapper<Author> {

	@Override
	public Author mapRow(ResultSet rs, int line) throws SQLException {
		AuthorResultSetExtractor extractor = new AuthorResultSetExtractor();
		return extractor.extractData(rs);
	}

}

